package com.imooc.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author
 * @create 2018-07-31 16:28
 **/
@Controller
@RequestMapping(value = "/shop", method = RequestMethod.GET)
public class ShopAdminController {

    @RequestMapping(value = "/shopOperation")
    public String shopOperation() {
        return "shop/shopOperation";
    }


    @RequestMapping(value = "/shopList")
    public String shopList() {
        return "shop/shopList";
    }

    @RequestMapping(value = "/shopmanage")
    public String shopManager() {
        return "shop/shopManager";
    }

    @RequestMapping(value = "/productcategorymanage")
    public String productCategoryManage() {
        return "shop/productcategorymanage";
    }


    @RequestMapping(value = "/productedit")
    public String productEdit() {
        return "/shop/productedit";
    }

    @RequestMapping(value = "/productmanage")
    public String productManage() {
        return "/shop/productmanage";
    }

    /**
     * 返回店铺详情页
     * @return
     */
    @RequestMapping(value = "/shopedit")
    public String shopEdit() {
        return "/shop/shopedit";
    }


}
